package com.corefire.config;

import com.limao.Tool.CacheClass;


/**
 * <一句话功能简述>
 * <功能详细描述>配置信息
 * 
 * @author  Administrator
 * @version  [版本号, 2014-8-29]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class CorefireConfig {
    
	public static String version="2.0.0";
    /**
     * 芯火交易密钥
     */
	private static String key ;
    
    /**
     * 芯火商户号
     */
    private static String mch_id;
    
    /**
     * 芯火appid
     */
    private static String appid;
    
    /**
     * 芯火支付宝请求url
     */
    private static String common_url;
    /**
     * 芯火微信刷卡支付请求url
     */
    private static String micropay_req_url;
    
    /**
    * 芯火微信扫码支付请求url
    */
    private static String native_req_url;
    
    /**
     * 芯火订单查询请求url
     */
   private static String query_req_url;
    
    /**
     * 芯火退款请求url
     */
    private static String refund_req_url;
    
    /**
     * 芯火退款查询请求url
     */
    private static String refund_query_req_url;
    
    /**
     * 芯火撤销订单请求url
     */
    private static String reverse_req_url;
    
    /**
     * 通知url
     */
    private static String notify_url;
    
	public static String getKey() {
    	key=CacheClass.getSYS_BaseDataCacheManager().Load_Param("aliPrivateKey1").trim();
		return key;
		
	}

	public static void setKey(String key) {
		CorefireConfig.key = key;
	}

	public static String getMch_id() {
    	mch_id=CacheClass.getSYS_BaseDataCacheManager().Load_Param("aliSellerId1").trim();
		return mch_id;
	}

	public static void setMch_id(String mch_id) {
		CorefireConfig.mch_id = mch_id;
	}

	public static String getAppid() {
    	appid=CacheClass.getSYS_BaseDataCacheManager().Load_Param("aliAPPID1").trim();
		return appid;
	}

	public static void setAppid(String appid) {
		CorefireConfig.appid = appid;
	}

	public static String getCommon_url() {
    	common_url="https://api.tectopper.com/pay/gateway";
		return common_url;
	}

	public static void setCommon_url(String common_url) {
		CorefireConfig.common_url = common_url;
	}

	public static String getMicropay_req_url() {
		return micropay_req_url;
	}

	public static void setMicropay_req_url(String micropay_req_url) {
		CorefireConfig.micropay_req_url = micropay_req_url;
	}

	public static String getNative_req_url() {
		return native_req_url;
	}

	public static void setNative_req_url(String native_req_url) {
		CorefireConfig.native_req_url = native_req_url;
	}

	public static String getQuery_req_url() {
		return query_req_url;
	}

	public static void setQuery_req_url(String query_req_url) {
		CorefireConfig.query_req_url = query_req_url;
	}

	public static String getRefund_req_url() {
		return refund_req_url;
	}

	public static void setRefund_req_url(String refund_req_url) {
		CorefireConfig.refund_req_url = refund_req_url;
	}

	public static String getRefund_query_req_url() {
		return refund_query_req_url;
	}

	public static void setRefund_query_req_url(String refund_query_req_url) {
		CorefireConfig.refund_query_req_url = refund_query_req_url;
	}

	public static String getReverse_req_url() {
		return reverse_req_url;
	}

	public static void setReverse_req_url(String reverse_req_url) {
		CorefireConfig.reverse_req_url = reverse_req_url;
	}

	public static String getNotify_url() {
    	notify_url=CacheClass.getSYS_BaseDataCacheManager().Load_Param("alipay_notify_url1").trim();
		return notify_url;
	}

	public static void setNotify_url(String notify_url) {
		CorefireConfig.notify_url = notify_url;
	}
    
    
    
}
